package com.jkj.http.sys.service.impl;

import java.util.Date;
import java.util.List;

import com.jkj.http.sys.dao.SysLogDao;
import com.jkj.http.sys.entity.SysLog;
import com.jkj.http.sys.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysLogServiceImp implements SysLogService {
    @Autowired
    private SysLogDao logDao;

    @Override
    public int getTotalCount(Date limitDate, String keyWord) {
        return logDao.getTotalCount(limitDate, keyWord);
    }

    @Override
    public List<SysLog> getList( Date limitDate, String keyWord) {
        return logDao.getList( limitDate, keyWord);
    }

    @Override
    public int delete(Date keepDate) {
        return logDao.delete(keepDate);
    }
}
